﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.Traceabilitys.Slaughters
{
    /// <summary>
    /// 屠宰信息的新增命令
    /// </summary>
    public class AddSlaughterCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 屠宰批次
        /// </summary>
        public string Batch { get; set; } = null!;


        /// <summary>
        /// 到厂均重（公斤）
        /// </summary>
        public int ArrivalAverageWeight { get; set; }

        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime ArrivalTime { get; set; }

        /// <summary>
        /// 屠宰时间
        /// </summary>

        public DateTime SlaughterTime { get; set; }

        /// <summary>
        /// 溯源编号
        /// </summary>
        public int ProductId { get; set; }

    }
}
